import { defHttp } from '@/utils/http/axios'

/**
 * 自动部署流程元数据到Flowable
 * @param id 流程元数据ID
 */
export function deployProcessMeta(id: number) {
  return defHttp.post(
    { url: `/workflow/processMeta/deploy/${id}` },
    { isTransformResponse: false }
  )
} 